/*
 * @Author: zhuxiaoyi
 * @Date: 2024-04-19 10:49:06
 * @LastEditor: zhuxiaoyi
 * @LastEditTime: 2024-07-05 23:05:53
 * @Description:
 */
import { Sld } from '../entity/sld.entity';
import { Algorithm } from '../entity/algorithm.entity';
import { Task } from '../entity/task.entity';
import { TaskLog } from '../entity/taskLog.entity';
import { Graph } from '../entity/graph.entity';
import { MiniTask } from '../entity/miniTask.entity';
import { AlgrithmType } from '../entity/algorithmType.entity';
import { M1Product } from '../entity/module1.entity';
import { EverythingSubscriber } from '../event/subscriber';

export default {
  algorithmBaseURL: "D:/Temp",
  dataBaseURL: "D:/Temp",
  geoServerURL: 'http://localhost:8055/geoserver',
  matlabExePath:'D:/program files/MATLAB/R2021b/bin/matlab.exe',
  dataSource: {
    default: {
      type: 'postgres',
      host: 'localhost',
      port: 5432,
      username: 'postgres',
      password: 'zyjy2021',
      database: 'uav_db',
      synchronize: true, // 如果第一次使用，不存在表，有同步的需求可以写 true，注意会丢数据
      logging: false,
      // 配置实体模型
      entities: [Sld, Algorithm, Task, TaskLog,Graph,MiniTask,M1Product,AlgrithmType],
      subscribers: [EverythingSubscriber],
      extra: {
        postgis: true,
      },
    },
  },
  tmpdir: 'C:/templateFiles',
};
